<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS样式练习</title>

    <style>
        /* a {
            color:red;
        }

        div {
            color:green;
        }

        .font32 {
            font-size: 32px;
        }

        #submit {
            color: red;
        }

        * {
            color: red;
        } */

        ul li a {
            color: red;
        }

        .text1 {
            color: red;
            font-size: 32px;
            border: 1px solid purple;
            width: 200px;
            height: 100px;

            padding: 10px 10px 10px 10px;
        }
    </style>
</head>
<body>
    <div class="text1">我是文本1</div>

    <div class="font32">我是⼀个div, class为font32</div>
    <div class="font32">我是⼀个div, class为font32</div>
    <div><a href="#">我是⼀个div</a></div>

    <ul>
        <li>aaa</li>
        <li>bbb</li>
        <li><a href="#">ccc</a></li>
    </ul>

    <ol>
        <li>1111</li>
        <li>2222</li>
        <li>3333</li>
    </ol>
    
    <button id="submit">提交</button>
</body>
</html>